<include file="Public/header"/>
<h2>添加App信息</h2>
<form action="{:U('admin.php/App/add')}" method="post" class="form-horizontal"  enctype="multipart/form-data">


<br><br>

<div class="form-group">
    <label for="appname" class="col-sm-2 control-label">App名称</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="ydq_appname"  id="appname" placeholder="Appname" required="">
    </div>
  </div>

  <div class="form-group">
    <label for="dname" class="col-sm-2 control-label">开发者姓名(默认为当前登录用户)</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="ydq_developer"  id="dname" placeholder="Developer" required="">
    </div>
  </div>

  <div class="form-group">
    <label for="vname" class="col-sm-2 control-label">版本</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="edition"  id="vname" placeholder="V1.0" required="">
    </div>
  </div>


  <div class="form-group">
    <label for="techname" class="col-sm-2 control-label">使用技术</label>
    <div class="col-sm-10">
     <select name="ydq_tech" id="techname" class="form-control" >
     <option value="请选择">请选择</option>
     <option value="Android">Android</option>
     <option value="JAVA">JAVA</option>
     <option value="PHP">PHP</option>
     <option value="C++">C++</option>
     </select>
    </div>
  </div>

    <div class="form-group">
    <label for="3" class="col-sm-2 control-label" >app类型</label>
    
    <div class="checkbox">
        <label  class="checkbox-inline" >

    <input type="checkbox" name="specialid[]" value="社交" id="3">社交</input>
    </label>
    <label  class="checkbox-inline" >
    <input type="checkbox" name="specialid[]" value="教育" id="3">教育</input>
    </label>
    <label  class="checkbox-inline" >
    <input type="checkbox" name="specialid[]" value="实用工具" id="3">实用工具</input>
    </label>
    <label  class="checkbox-inline" >
    <input type="checkbox" name="specialid[]" value="游戏" id="3">游戏</input>
    </label>
    <label  class="checkbox-inline" >
    <input type="checkbox" name="specialid[]" value="其他" id="3">其他</input>
    </label>
    </div>


  <div class="form-group">
    <label for="2" class="col-sm-2 control-label">上传APP的LOGO：文件框，必填，图片大小不要超过1M</label>
    <div class="col-sm-10">
      <input type="file" class="form-control" name="ydq_logo"  id="2" required="">
    </div>
  </div>

    <div class="form-group">
    <label for="5" class="col-sm-2 control-label">详细介绍</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="ydq_intro"  id="5" placeholder="详细介绍" required="">
    </div>
  </div>



 <!-- <div class="form-group">
    <label for="tname" class="col-sm-2 control-label">app类型</label>
    <div class="col-sm-10">
     <select name="tname">
     <voiste name="atlist" id="vo">
     <option value="{$vo.ydq_id}">{$vo.ydq_typename}
       
     </option>
       
     </select>
    </div>
  </div>-->






  <br>
     <div class="form-group">
    <label  class="col-sm-2 control-label"></label>
    <div class="col-sm-10">
      <input type="submit" class="btn btn-success"  value="提交" />&nbsp;&nbsp;&nbsp;<input type="reset" class="btn btn-warning" name="intro" value="重置" id="1"  />
    </div>
  </div>

</form>
<include file="Public/foot"/>